package com.tuanbiao.controllers;

import android.view.KeyEvent;

import com.hzjq.data.entity.UIDRuleEntity;
import com.tuanbiao.models.action.ConfigAction;
import com.tuanbiao.base.mvp.IModel;
import com.tuanbiao.base.mvp.IPresenter;
import com.tuanbiao.base.mvp.IView;
import com.tuanbiao.data.entity.CodeModelType;
import com.tuanbiao.models.action.SettingAction;

import java.util.List;

/**
 * @author abiao
 * @date 2022/7/28 10:11
 * @description:
 */
public interface EncodingRulesController {
    interface Model extends IModel, ConfigAction , SettingAction {

    }

    interface View extends IView {

        void showDetails(UIDRuleEntity uidRule);

        void startMain();

        void startLogin();

        void showEncodingRulesDialog(List<CodeModelType> codeModels);

        void showFromSetting(boolean isFromSetting);
    }

    interface Presenter extends IPresenter {
        /**
         * @param moduleMill
         * @param detonatorMill
         * @param signatureCode
         * @param moduleType
         */
        void saveMillCode(CodeModelType codeModelType,String moduleMill, String detonatorMill, String signatureCode, String moduleType);

        void showEnCodingRulesDialog();

    }

}
